package encore.portal.container.impl;

import encore.portal.container.Configuration;
import encore.portal.container.ContainerInfo;

public class ContainerInfoImpl implements ContainerInfo {

	private static final ContainerInfo instance=new ContainerInfoImpl();

	private ContainerInfoImpl()
	{
		
		
	}
	
	
	public static ContainerInfo getInfo()
	{
		return instance;
	}
	
	
	@Override
	public int getMajorSpecificationVersion() {
		
		return Configuration.getMajorSpecificationVersion();
	}

	@Override
	public int getMinorSpecificationVersion() {
		
		return Configuration.getMinorSpecificationVersion();
	}

	@Override
	public String getPortletContainerName() {
		
		return Configuration.getPortletContainerName();
	}

	@Override
	public String getPortletContainerVersion() {
		// TODO Auto-generated method stub
		return Configuration.getPortletContainerVersion();
	}

	@Override
	public String getServerInfo() {
		// TODO Auto-generated method stub
		return Configuration.getServerInfo();
	}
	
	
}
